#!/bin/bash
docker run -d --name clickhouse clickhouse/clickhouse-server:23.2.5.46
docker cp clickhouse:/etc/clickhouse-server ./
# 将文件夹clickhouse-server重命名为conf.d
mv clickhouse-server conf.d
docker stop clickhouse
docker rm clickhouse